package com.jrx.anytxn.customer.dto.customer;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

public class CustomerMobileUpdateByCmsReq implements Serializable {

    private static final long serialVersionUID = -1061074775843557930L;

    /**
     * 租户号
     */
    @ApiModelProperty(value="租户号",example="101")
    private String tenantId;

    /**
     * 渠道号
     */
    @ApiModelProperty(value="渠道号",example="channel01")
    @NotBlank(message = "渠道号不能为空")
    private String channel;

    /**
     * 客户id
     */
    @ApiModelProperty(value="客户id",example="4983026")
    @NotBlank(message = "客户id不能为空")
    private String customerId;

    /**
     * 手机号
     */
    @ApiModelProperty(value="手机号",example="19905079874")
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    /**
     * 修改原因
     */
    @ApiModelProperty(value="修改原因",example="客户要求")
    private String alterReason;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getAlterReason() {
        return alterReason;
    }

    public void setAlterReason(String alterReason) {
        this.alterReason = alterReason;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return "CustomerMobileUpdateByCmsReq{" +
                "tenantId='" + tenantId + '\'' +
                ", channel='" + channel + '\'' +
                ", customerId='" + customerId + '\'' +
                ", mobile='" + mobile + '\'' +
                ", alterReason='" + alterReason + '\'' +
                '}';
    }
}
